/*
 * @Descripttion: 表头高亮显示
 * @Author: Lizhijie
 * @Date: 2021-05-31 10:50:34
 * @LastEditTime: 2021-05-31 11:35:10
 */

import React from 'react';

export default ({ children, isHighlight }) => {
  if (isHighlight) {
    return <div style={{ color: 'red' }}>{children}</div>;
  }
  return children;
};
